﻿@{
    Layout = "~/Views/Shared/_StandardLayout.cshtml";
}

@{Html.RenderPartial("Templates/QuestionTemplates");}

<div class="ui-state-highlight ui-corner-all welcome">
    Sweet Survey is the most easy-to-use survey website.<br />
    <span>You can create a survey instantly by modifying the questions below.</span>
</div>

@{Html.RenderAction("EditSurvey", "Survey");}

<script type="text/javascript">
    $(function () {
        $('#menucontainer input#create').attr('checked', true);
        var returnUrl = '@ViewBag.ReturnUrl';
        if (returnUrl.length > 0 && returnUrl != 'null') { $('#logOn').trigger('click'); }
    });
</script>